Skip to content

)}

EventPattern.Equals(EventPattern?) method

Defined in

Type: EventPattern Namespace: System.Reactive Assembly: System.Reactive.dll

Applies to

netstandard2.0

Overloads

  • 1. public bool Equals(EventPattern<TSender, TEventArgs>? other)
  • 2. public override bool Equals(object? obj)

1. Overload

public bool Equals(EventPattern<TSender, TEventArgs>? other)

Summary: Determines whether the current EventPattern object represents the same event as a specified EventPattern object.

Parameters

NameTypeDescription
other[EventPattern?](#An object to compare to the current [EventPattern](# object.

Returns: bool -- true if both EventPattern objects represent the same event; otherwise, false.

2. Overload

public override bool Equals(object? obj)

Summary: Determines whether the specified System.Object is equal to the current EventPattern.

Parameters

NameTypeDescription
objobject?The System.Object to compare with the current [EventPattern](#

Returns: bool -- true if the specified System.Object is equal to the current EventPattern; otherwise, false.